Use the IEC power symbols for GtkSwitch labels
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 11 Jan 2019 15:21:09 +0000 (15:21 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 11 Jan 2019 15:25:30 +0000 (15:25 +0000)
commitba9b0c6f7d3237e77318bec4c546abaa7c212375
tree5dae8414e4fea10fcfb0840beed423326b720819
parent3ce3de98daeb27d407a0863ec789c033dcd3cd40
Use the IEC power symbols for GtkSwitch labels

Unicode 9.0 introduced glyps for the "on" and "off" power states, in the
form of:

 - U+23FD POWER ON SYMBOL, or ⏽
 - U+2B58 HEAVY CIRCLE, or ⭘

With `HEAVY CIRCLE` as "power off symbol" selected to avoid adding yet
another circle to the standard.

Since we moved GtkSwitch to always show glyphs instead of (translatable)
strings, asking the localisation teams to either come up with a suitable
short string to replace the English "ON" and "OFF", or to fall back to
Unicode glyphs, we should ensure we're using the appropriate symbols to
begin with.

See also: gtk!503 for the corresponding gtk-3-24 change.
gtk/gtkswitch.c